//package dbPhase.hypeerweb;
//
//import java.util.ArrayList;
//import java.util.Iterator;
//
//public class ConnectionUpdater {
//	public void execute(Node node, Node target) {
//		ArrayList<Connection>  iter = getIterator(node);
//		for(Connection c: iter){
//			makeChanges(c, target);
//		}
//	}
//	public void makeChanges(Connection c, Node target) {
//
//	}
//	public ArrayList<Connection> getIterator(Node node) {
//		ArrayList<Connection> iter = new ArrayList<Connection>();
//
//		for(Node n: neighbors)
//			connections.add(new NeighborRole(n));
//		for(Node n: upPointers)
//			connections.add(new UpPointerRole(n));
//		for(Node n: downPointers)
//			connections.add(new DownPointerRole(n));
//		if (fold != NULL_NODE)
//			connections.add(new FoldRole(fold));
//		if (surrogateFold != NULL_NODE)
//			connections.add(new SurrogateFoldRole(surrogateFold));
//		if (inverseSurrogateFold != NULL_NODE)
//			connections.add(new InverseSurrogateFoldRole(inverseSurrogateFold));
//
//		return iter;
//	}
//
//}
